-
Notifications
You must be signed in to change notification settings - Fork 0
feat: deliver recipe browsing, cookbook, authentication and database foundation #49
+12,928
−324
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* feat: add design tokens and cascade layers * feat: add global reset and base styles * feat: add shared style utilities and wire global styles * test: add visual style verification pages * docs: document styling structure and usage * fix: apply Prettier formatting for CI
* feat: add shared icon library * feat: add reusable Icon component * test: add icon showcase for visual verification * fix: apply Prettier formatting to icon files
feat: add foundational UI components - add shared UI utility components - add UI component test setup - add test cleanup after each test - added visual showcases, for design and responsive testing - handle avatar initials safely - apply Prettier formatting to UI components
Add form navigation UI components * feat: add form UI components * feat: add selection and filter components * feat: add navigation and menu components * test: add form and navigation component verification * fix: apply Prettier formatting to UI components
* feat: add feedback UI components * feat: add dialog and overlay components * test: add feedback and overlay component verification * docs: document shared UI component library * fix: apply Prettier formatting to UI components
Co-authored-by: Hasan Mohammad Fawzi <hasan.fawzi@hoglund.no>
* feature(auth): add mock authentication flow * fix(auth): align mock user with shared data strategy --------- Co-authored-by: Hasan Mohammad Fawzi <hasan.fawzi@hoglund.no>
* feat: add reusable logo mark * feat: add shared recipe metadata components * feat: add reusable RecipeCard * feat: add RecipeCard showcase * test: add RecipeCard interaction tests * fix: apply Prettier formatting to RecipeCard files
* comment(docs): add project concept and setup guide * comment(docs): Update readme doc --------- Co-authored-by: Hasan Mohammad Fawzi <hasan.fawzi@hoglund.no>
Co-authored-by: Hasan Mohammad Fawzi <hasan.fawzi@hoglund.no>
* feat: add reusable pagination helper and tests * feat: implement Explore search and recipe browsing * docs: clarify AI use in development * fix: improve Explore focus and status feedback * fix: Applied prettier to ExplorePage
* feat(explore): add responsive filter and sort controls * feat(explore): implement browse query and URL state * feat(explore): add shared mock save state * docs(explore): add server integration notes
* feat: add initial RecipeCreatePage Refs: #35 * chore(add recipe): update recipe routing in App Refs: #35 * feat(add recipe): add image preview Refs: #35 * chore(add recipe): resize instruction box Refs: #35 * feat(add recipe): add custom styling to image selector Refs: #35 * feat(add recipe): add drag-and-drop for images and update styling Refs: #35 * feat(add recipe): add re-order of ingredients and instructions Refs: #35
* feat: implement cookbook browsing with shared recipe logic * fix: refine cookbook filters and navigation semantics * fix: make sheet body scroll within viewport * test(cookbook): cover apply, clear and invalid mobile filters
* feat(recipe-detail): implement recipe detail page * feat(recipe-detail): improve accessibility, add test recipe, and update tests * feat(recipe-detail): refine serving amount rounding * style(recipe-detail): refine layout and responsive sizing * test(recipe-detail): update tests for responsive controls * test(e2e): update recipe detail smoke test to use a real recipe route
* feat(auth): add database authentication and persistent sessions * fix(auth): address review feedback * fix(auth): protect routes and await session restoration * fix(routes): use cookbook and recipe detail pages * fix(routes): render recipe detail page after merge * fix(e2e): align smoke tests with recipe and protected routes --------- Co-authored-by: Hasan Mohammad Fawzi <hasan.fawzi@hoglund.no>
* feat(auth): add database authentication and persistent sessions * fix(auth): address review feedback * feat(db): add recipe database model and migration * fix(db): address recipe model review feedback --------- Co-authored-by: Hasan Mohammad Fawzi <hasan.fawzi@hoglund.no>
olestan
approved these changes
Oct 13, 2026
This was referenced Nov 17, 2026
Sign in
to join this conversation on GitHub.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change
Merge the current development work into
main.Implemented recipe browsing through Explore, with search, category and cooking-time filters, sorting, pagination, and URL state.
Added My Cookbook with Saved and Created views, filtering, and shared saved-recipe state.
Implemented the Recipe Detail page with recipe information, adjustable servings, scaled ingredients, rating interactions, ownership and visibility states, and navigation back to the originating browse view.
Added the Add Recipe frontend with form validation, ingredient and instruction editing, and responsive layouts.
Implemented database-backed registration, login, logout, and persistent sessions. Protected Cookbook and Add Recipe routes now wait for session restoration before rendering or redirecting.
Added the PostgreSQL recipe database model, including:
Added a Not Found page, improved shared navigation and reusable UI components, and updated documentation and tests.
Recipe browsing and interactions still use mock recipe data and client state. Recipe CRUD endpoints and database integration for these features are planned separately.
Merge order
This PR consolidates the feature work already merged into
dev.Base branch:
mainCompare branch:
devVerification
The following checks passed on the database-model branch before it was merged into
dev:npm run check, including formatting, linting, generated types, migration metadata, TypeScript, 189 unit tests, and production buildsThe 4 browser smoke tests also passed before the latest database review changes.
The updated
devbranch has been fetched and pulled locally. Checks have not been rerun on the final combineddevcommit.Database migration notes
Existing users and sessions are preserved.
Migration
0002requires the legacy recipes table to be empty. If it contains data, migration stops and requires an explicit backfill.Migration
0003normalizes existing category labels to lowercase keys. Unknown categories require explicit correction before migration can complete.Course requirements and AI use
Supports responsive design, accessibility, routing, reusable components, shared state, user interaction, database-backed authentication, relational modelling, and automated testing.
AI assisted with planning, implementation, documentation, testing, and code review for parts of this work.